package com.wanxi.user.domain.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:Iny
 * @Data：2022/1/10 14:03
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("购物车实体")
public class ShoppingCart {
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("商品skuId")
    private Long skuId;
    @ApiModelProperty("店铺Id")
    private Long shopId;
    @ApiModelProperty(value = "商品数量",required = true)
    private int productNum;
    @ApiModelProperty("加入购物车时间")
    private String createTime;
}
